// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_FA_REPAIR
// * CreateDate    : 2014-06-05 18:29:42
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:42
// * LastChanger   : 2014-06-05 18:29:42
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class FaRepairTable : TableInfo
    {
		public const string C_TableName = "FA_REPAIR";
		
		public const string C_ID = "ID";
		public const string C_REASON = "REASON";
		public const string C_LAST_REPAIR_DATE = "LAST_REPAIR_DATE";
		public const string C_LAST_REPAIR_COMPANY = "LAST_REPAIR_COMPANY";
		public const string C_LAST_REPAIR_PERSON = "LAST_REPAIR_PERSON";
		public const string C_RESULT = "RESULT";
		public const string C_REPAIR_FEE = "REPAIR_FEE";
		public const string C_REMARK = "REMARK";
		
		public FaRepairTable()
        {
            _tableName = "FA_REPAIR";
        }
		
		protected static FaRepairTable _current;
        public static FaRepairTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new FaRepairTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_REASON, new ColumnInfo(C_REASON,"Reason", false, typeof(string)));
            _current.Add(C_LAST_REPAIR_DATE, new ColumnInfo(C_LAST_REPAIR_DATE,"LastRepairDate", false, typeof(DateTime)));
            _current.Add(C_LAST_REPAIR_COMPANY, new ColumnInfo(C_LAST_REPAIR_COMPANY,"LastRepairCompany", false, typeof(string)));
            _current.Add(C_LAST_REPAIR_PERSON, new ColumnInfo(C_LAST_REPAIR_PERSON,"LastRepairPerson", false, typeof(string)));
            _current.Add(C_RESULT, new ColumnInfo(C_RESULT,"Result", false, typeof(string)));
            _current.Add(C_REPAIR_FEE, new ColumnInfo(C_REPAIR_FEE,"RepairFee", false, typeof(decimal)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo REASON
        {
            get { return this[C_REASON]; }
        }
		
		public ColumnInfo LAST_REPAIR_DATE
        {
            get { return this[C_LAST_REPAIR_DATE]; }
        }
		
		public ColumnInfo LAST_REPAIR_COMPANY
        {
            get { return this[C_LAST_REPAIR_COMPANY]; }
        }
		
		public ColumnInfo LAST_REPAIR_PERSON
        {
            get { return this[C_LAST_REPAIR_PERSON]; }
        }
		
		public ColumnInfo RESULT
        {
            get { return this[C_RESULT]; }
        }
		
		public ColumnInfo REPAIR_FEE
        {
            get { return this[C_REPAIR_FEE]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

